#ifndef __PWM_H
#define	__PWM_H
#ifdef __cplusplus
extern "C" {
#endif
#include "stm32f10x.h"
void TIM_PWM_Init(void);
void MOTOR_Init(void);
void MOTOR_Speed(int16_t Speed);
void Server_Init(void);
void Server_Angle(int16_t Angle);
void Encoder_Init(void);

#ifdef __cplusplus
}
#endif
#endif /* __PWM_OUTPUT_H */

/*	TIM1	CH1=PA8	CH1=PA9	CH2=PA10	CH4=PA11
	TIM2 	CH1=PA0	CH2=PA1	CH3=PA2	CHE4=PA3				
	TIM3	CH1=PA6	CH2=PA7 CH3=PB0 CH4=PB1
	TIM4	CH1=PB6	CH2=PB7	CH3=PB8	CH4=PB9


*/